#import "DiggStory.h"

@implementation DiggStory

@synthesize link, submitDate, diggs, diggid, comments, href, status, media, description, title;
@synthesize user, topic, container, thumbnail;

-(id)initWithFakeData {
	self = [super init];
	self.link = [[NSURL alloc] initWithString:@"http://abe5.com/a2i"];
	[self.link release];
	self.submitDate = [NSDate dateWithTimeIntervalSince1970:1226792259];
	self.diggs = 1;
	self.diggid = 9552529;
	self.comments = 0;
	self.href = [[NSURL alloc] initWithString:@"http://digg.com/other_sports/Lich_King_Level_Cap_Reached"];
	[self.href release];
	self.status = @"upcoming";
	self.media = @"news";
	self.description = @"Only a day after the official launch of the Wrath of the Lich King expansion for World of Warcraft, a European player has reached the newly raised level cap.";
	self.title = @"Lich King Level Cap Reached for a really long title let's see what we get here.";
	
	self.user = [[DiggUser alloc] initWithFakeData];
	[self.user release];
	self.topic = [[DiggTopic alloc] initWithFakeData];
	[self.topic release];
	self.container = [[DiggContainer alloc] initWithFakeData];
	[self.container release];
	self.thumbnail = [[DiggThumbnail alloc] initWithFakeData];
	[self.thumbnail release];
	return self;
}

@end
